home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Topik / Topik - Disk 06 - Graphix (19xx)(Topik Public Domain)(PD)[WB].zip / Topik - Disk 06 - Graphix (19xx)(Topik Public Domain)(PD)[WB].adf / SuperView / SuperView.doc < prev    next >
Text File  |  1989-06-28  |  12KB  |  363 lines

  1.  
  2.     SuperView,   A IFF display program.  by  David  Grothe  V 2.1
  3.     Release Date   01-24-89
  4.  
  5.     *
  6.     * Copyright 1989 by David Grothe
  7.     * All rights reserved.
  8.     *
  9.     * This program is Shareware,  if you use this program
  10.     * please send $10 to: 
  11.     *
  12.     * David Grothe
  13.     * 20 SW 39th
  14.     * Okla City, OK  73109
  15.     *
  16.     * You may pass the program around as long as this Doc file 
  17.     * remains a part of it.
  18.     *
  19.     * If you would like to distribute this program with your 
  20.     * software, you must contact me first.
  21.     * 
  22.  
  23.  
  24. SuperView is a program that will display IFF pictures of all types 
  25. on the Amiga.  The program supports the following features:
  26.  
  27.     Multiple files on one command line.
  28.     WorkBench  (icons) are supported.
  29.     All display modes supported.
  30.     Auto Overscan
  31.     Color Cycle ( DPaint and GraphiCraft types)  CRNG  CCRT
  32.     AmigaBasic  ACBM  type files
  33.     Author chunk is supported
  34.     Displays the first cell in a ANIM file
  35.     Written in Assembly, PURE code that can be resident under 1.3
  36.  
  37. New for version 2.0 - 2.1
  38.  
  39. Display options that include the following:
  40.  
  41.     -a        Suppress Author Text
  42.     -c        Suppress Color Cycling
  43.     -d <dir>    Display all pictures in a directory
  44.     -f <file>    Read a text file for picture names
  45.     -h<n>       Change the display height of a picture
  46.     -l           List picture information
  47.     -m<x>       Select view modes.
  48.     -o           Override the Auto Overscan 
  49.     -p           Disables Pointer Clearing
  50.     -r           Repeat command line
  51.     -s<n>        Display picture for n seconds
  52.     -t[<n>]        Double buffer pictures
  53.     -u        Dual Playfield
  54.     -w<n>        Change the display width
  55.     -x<n>        Change the position of the display area x
  56.     -y<n>        Change the position of the display area y
  57.  
  58. Also new to version 2.0  2.1  is:
  59.  
  60.     Smooth transition between pictures.
  61.     Color Cycling continues while next picture is loaded.
  62.     Scroll around in large pictures.
  63.     Pointer Clearing during picture viewing.
  64.  
  65. Overscan sizing and positioning has also been improved.
  66.  
  67. New controls:
  68.  
  69.     Left Mouse     Button Scrolls around in a picture
  70.     Right Mouse     Button Continues to next picture
  71.     Spacebar     Starts and stops the color cycling
  72.     ESC         Aborts the command line
  73.  
  74. Using SuperView from WorkBench.
  75.  
  76. SuperView has a complete WorkBench (Icon) interface built in.  
  77. To use SuperView from WorkBench, you must have an icon for your picture. 
  78. Most all paint programs build icons for you as you save a picture, so 
  79. this should not be a problem.  There are two ways to view pictures at 
  80. this point.  The easy way is to click once on the picture icon, hold 
  81. down the shift key, and then double click the SuperView icon.  You can 
  82. reverse this and click once on the SuperView icon and double click your 
  83. picture icon.  To view more that one picture,  you hold down the shift 
  84. key and click each picture that you want to show and the SuperView icon.  
  85. You don't have to select the icons in any kind of order as long as you 
  86. double click the last icon you select.  The pictures will be displayed 
  87. in the order that you select them.  You can also make the picture icon 
  88. itself run SuperView by putting SuperView in the default tool of the 
  89. icon.  This way you can just double click the picture icon to view it.  
  90. For a detailed description of how this is done, see the article in 
  91. Ami Exchange Mag V1.4.  
  92.  
  93. After the picture is loaded from workbench, you can stop and start the 
  94. color cycling with the spacebar, hold down the left mouse button to 
  95. scroll around in a large bitmap picture, press the right mouse button 
  96. to go to the next picture,  or press the ESC key to abort. Pressing the 
  97. ESC key will remove the current picture and cancel out any pictures that 
  98. you had selected that you have not viewed yet.
  99.  
  100.  
  101. Using SuperView from the CLI
  102.  
  103. Here is where the real power of SuperView comes out.  
  104. From the CLI,  you can choose many display options that allow you to 
  105. view a picture in different ways.  The command line from the CLI is
  106.  
  107. 1> SuperView [option[...]] <fileName> [[option[...]] <fileName>].... 
  108.  
  109. You can use up to 255 characters on the command line.  
  110. Here is a list of the options and how to use them.
  111.  
  112.     -a    Suppress Author Text
  113.  
  114. If you use this option, no Author text will be displayed from the AUTH 
  115. chunk in the IFF file.  
  116.  
  117. Example: 
  118.  
  119. 1> SuperView -a <Picture>
  120.  
  121.  
  122.     -c    Suppress Color Cycling
  123.  
  124. This option will prevent the picture from color cycling.  If you use this 
  125. option,  the spacebar will not start color cycling.  
  126.  
  127. Example:
  128.  
  129. 1> SuperView -c <Picture>
  130.  
  131.  
  132.     -d <dir>    Display all pictures in a directory
  133.  
  134. The -d option will take the name of a directory instead of a picture 
  135. name and display every picture that if finds in that directory.  
  136. SuperView will overlook files that are not pictures, so you wont have 
  137. to worry about having non-picture files in the directory.  Any options 
  138. that you select before the directory name will stay in effect for each 
  139. picture in the directory.  After the directory has been displayed, 
  140. SuperView will continue on with the rest of the command line.  This 
  141. option works well with the -s option. 
  142.  
  143. Example:
  144.  
  145. 1> SuperView -d df0:
  146. 1> SuperView -s10 -c -d df0:
  147. 1> SuperView -s10 -d -a df1: -r
  148.  
  149. To display the Parent directory,  use the / as the directory name.  If 
  150. you want to show the pictures in your current directory you will need to
  151. use /<directory>  This takes you to parent and back into the current.  So
  152. if you wanted to show all of the pictures in your current directory, and
  153. that directory was  dh0:pics/lo-res/mine,  you would use a this line:
  154.  
  155. 1> SuperView -d /mine        ;show directory mine
  156.  
  157. If your current directory was dh0:pics/lo-res,  then you could use this
  158. line:
  159.  
  160. 1> SuperView -d mine        ;show directory mine
  161.  
  162. You could type in the complete path name if you like.    
  163.  
  164.  
  165.     -f <file>    Read a text file for picture names
  166.  
  167. This option will read a text file and use it as a script to display 
  168. pictures.  The format of the file is the same as the format of each 
  169. picture on the command line.  
  170.  
  171. Example:
  172.  
  173. -a <Picture>
  174. -s10 MyPicture
  175. -d -s10 -c df0:
  176. GreatPic
  177. -x200 -y100 BigPic
  178.  
  179. Each picture in the file can have its own options.  When all of the files 
  180. have been displayed,  SuperView will continue with the rest of the 
  181. command line.
  182.  
  183. Example:
  184.  
  185. 1> SuperView -f MyScript
  186. 1> SuperView -f MyScript -r
  187. 1> SuperView -f MyScript -s10 <Picture>
  188.  
  189.  
  190.     -h<n>   Change the display height of a picture
  191.     -w<n>    Change the display width
  192.  
  193. These two options change the display size of a picture.  You can use one 
  194. or both of them on a picture.  These options change the display size of 
  195. the picture, not the size of the picture.   If you tell it to use a 
  196. smaller display size than the picture is, you will be able to scroll 
  197. around in the smaller display area.  The best way to under stand this may 
  198. be to try it.   
  199.  
  200. Example:
  201.  
  202. 1> SuperView -w320 -h200 <Picture>
  203. 1> SuperView -w320 -h200 -m <Picture>
  204. 1> SuperView -w200 -h100 -x60 -y50 <Picture>
  205.  
  206.  
  207.     -l   List picture information
  208.  
  209. If you want to know the size of a picture, or if it is HAM or HalfBrite, 
  210. then this is your option.  This will list out the size of the display 
  211. area,  the size of the picture, what type of file it is (ILBM, ACBM, 
  212. ANIM), any display modes, number of colors and bit planes. 
  213.  
  214. Example:
  215.  
  216. 1> SuperView -l <Picture>
  217. 1> SuperView -l -s10 <Picture>
  218. 1> SuperView -l -w400 <Picture>
  219.  
  220.  
  221.  If you want to save this information to disk or printer,  you may 
  222. redirect the output:
  223.  
  224. 1> SuperView >Prt: -d -l df1:
  225.  
  226. This line will show each picture on drive df1: and list the information 
  227. to the printer.
  228.  
  229.  
  230.     -m<x>   Select view modes  
  231.         h = HAM 
  232.         r = HiRes 
  233.         l =Lace
  234.         b = HalfBrite
  235.  
  236. This will allow you to change any display modes that you want.  The 
  237. display modes that are supported are,  Hi-Res (640 display), 
  238. Lace (interlace), HAM (Hold And Modify), and Extra-HalfBrite.  If you 
  239. just select -m option without any letters following it, all modes will be 
  240. cleared.  If the modes are clear, you will get a standard lo-res screen.  
  241. This is good for taking a Hi-Res, Lace picture and making it Lo-Res.
  242.  
  243. Example:
  244.  
  245. 1> SuperView -w320 -h200 -m <Picture>
  246. 1> SuperView -w320 -h200 -ml <Picture>
  247.  
  248. This will give you a 320 X 200 picture of <Picture> that you can scroll 
  249. around in.  
  250.  
  251.     -o   Override the Auto Overscan 
  252.  
  253. This will cause SuperView to display the picture exactly like the IFF 
  254. file said to.  No attempt to size or place the picture is made.
  255.  
  256. Example:
  257.  
  258. 1> SuperView -o <Picture>
  259.  
  260.  
  261.     -p   Disables Pointer Clearing
  262.  
  263. If you don't want your pointer to disappear when showing the picture,  
  264. then use this option.
  265.  
  266. Example:
  267.  
  268. 1> SuperView -p <Picture>
  269.  
  270.  
  271.     -r   Repeat command line
  272.  
  273. This will cause SuperView to repeat the command line in a loop.  With 
  274. this option, the -s and -d or -f options, you can make a slide show.  
  275. This is the only option that you put after everything else and everything 
  276. past the -r is ignored.  The only way to stop this is to hit the ESC key.
  277.  
  278. Example:
  279.  
  280. 1> SuperView <Picture> <Picture> -r
  281. 1> SuperView -s10 <Picture> -s5 <Picture> -r
  282.  
  283.  
  284.     -s<n>  Display picture for n seconds
  285.  
  286. This option will remove the picture after n seconds.  You can still 
  287. continue by pressing the right mouse button or ESC key.  This option 
  288. and the -d option work well together.
  289.  
  290. Example:
  291.  
  292. 1> SuperView -s10 <Picture>
  293. 1> SuperView -s10 -d df1:
  294.  
  295.  
  296.     -t[<n>]    Double Buffer
  297.  
  298. This option will take two (default) or more pictures and cycle them to the 
  299. front as fast as possiable.  This may not seem useful,  but there are some 
  300. reasons for including it.  Double Buffering is mostly used to hide the area 
  301. that you are drawing in until it is ready to be displayed.  Most of the 
  302. time it is a animation.  Durring some test with Double Buffering I found 
  303. that if you swap complete screens,  you can also change the colors.
  304. Try this,  load up a paint program,  make a red (filled) box in the middle
  305. of the screen.  Now save this as pic1.  Next change the box to blue and
  306. save as pic2.  Then type the following line
  307.  
  308. 1> SuperView -t pic1 pic2
  309.  
  310. Notice that the box is now a different color.  This is real useful in
  311. smoothing out pictures and you can make it look like you have more than
  312. 32 colors on the screen at once.  More info on how to use this option
  313. will be made available on the AmigaLine BBS at (405) 354-8061 including
  314. a way to make Hi-Res 4096 color photos from the amiga.
  315.  
  316. If you want to buffer more than two pictures,  supply the number of 
  317. pictures after the -t option like
  318.  
  319. 1> SuperView -t4 pic1 pic2 pic3 pic4
  320.  
  321.  
  322.     -u    Dual Playfield
  323.  
  324. Did you ever wonder what dual playfield was like.  Well with this option,
  325. you can take any two pictures that are three bit planes (or less) and 
  326. display them in dual playfield mode.  After the picture is displayed, 
  327. you can scroll around in each picture (if the picture is larger than the
  328. screen).  To do this, hold down the left mouse button and slide the mouse
  329. around.  The back ground picture will scroll,  now release the button and
  330. hold it down again,  this time the front picture will scroll.  Each time
  331. you press the left button the scrolling picture will change.  To use this 
  332. option,  type in the fore ground picture first and then the back ground
  333. picture like
  334.  
  335. 1> SuperView -u pic1 pic2
  336.  
  337.  
  338.     -x<n>    Change the position of the display area x
  339.     -y<n>    Change the position of the display area y
  340.  
  341. The -x and -y options are used to position the display area on the screen. 
  342. For overscan, you need to shift the picture to the left and up from the 
  343. normal 0x 0y so you use  -x-16 to shift left and -y-8 to shift up. Also, 
  344. if you want to change the display size with the -w and -h options, you 
  345. can center the smaller screen with these options.
  346.  
  347. Example:
  348.  
  349. 1> SuperView -x20 -y10 <Picture>
  350. 1> SuperView -w200 -h100 -x60 -y50 <Picture>
  351.  
  352.  
  353. If you have any problems with the program, you can leave me a message
  354. on AmigaLine BBS at (405) 354-8061....
  355.  
  356. See the file called SVEXAMP.ARC for some example pictures for the -t
  357. and -u options.
  358.  
  359.  
  360.  
  361.  
  362.  
  363.